import Vue from 'vue'
import router from 'vue-router'

import Content from "../components/Content";
import Main from "../components/Main";
import Hello from "../components/Hello";

Vue.use(router);

export default new router({
  routes:[
    {
      path:'/content', //路由路径
      name:'content',
      component: Content  //跳转组件
    },
    {
      path:'/main', //路由路径
      name:'main',
      component: Main
    },
    {
      path:'/hello', //路由路径
      name:'hello',
      component: Hello
    }
  ]
});
